<?php

namespace App\Models\CommissionReturn;

use App\Models\BaseModel;

class CommissionReturnLogsModel extends BaseModel
{
    /**
     * 与模型关联的数据表。
     *
     * @var string
     */
    protected $table = 'commission_return_logs';
    /**
     * 与表关联的主键
     *
     * @var string
     */
    protected $primaryKey = 'id';
    /**
     * 执行模型是否自动维护时间戳。
     *
     * @var bool
     */
    public $timestamps = false;

    /**
     * 可以被批量赋值的属性。
     *
     * @var array
     */
    protected $fillable = array(
        "id", "ordersno", "billing", "billing_at", "province", "city", "product_id", "product_name", "goods_id", "goods_name", "account_at", "account_month", "account_surname", "account_name", "number", "created_at", "consume_money", "tax", "commission_money", "commission_tax_money", "created_by", "activat_at", "activat_month", "online", "online_t"
    );


    /**
     * 查询数据需要过滤掉的属性。
     *
     * @var array
     */

    protected $hidden = array(//        'updated_at'
    );

}
